package generics;

public class UseMyCollection {
	public static void main(String[] args) {
		MyCollection mc = new MyCollection();
		mc.add("1번");
		mc.add("2번");
		
		for(int i = 0; i<mc.size(); i++){
			Object o = mc.get(i);
			String s = (String)o;
			System.out.println(s);
		}
	}
}
